@extends('layout.home')

@section('title','支付')

@section('content')
<style type="text/css">
	  .od-more-cnt {
	     line-height: 30px;
	     padding-bottom: 0px;
	     padding-top:20px;
	  	}
	  input{
	  	border:none;
	  	background:rgba(0, 0, 0, 0);
	  }  
</style>
<div class="clearfix"></div>
<form action="/home/finish" method="post">
	<div class="ajax-Account od-more-cnt fn-clear col-md-6 col-md-offset-3">
		<div><h2>会员服务</h2></div>
		<ul class="order-detail-container">
			<li class="order-item">
			    <table>
			            <tr>
				            <th class="sub-th">收款方：</th>
				            <td>lamp159</td>
			            </tr>
				        <tr>
				            <th class="sub-th">订单号：</th>
				            <td><input type="text" name="order_id" value="{{date('Ymd',time()).rand(00000000,99999999)}}" readonly="readonly"></td>
				        </tr>
			            <tr>
				            <th class="sub-th">商品名称：</th>
				            <td><input type="text" name="name" value="会员服务" readonly="readonly"></td>
			            </tr>
			            <tr>
				            <th class="sub-th">商品描述：</th>
				            <td><input type="text" name="detail" value="{{$goods->name}}" readonly="readonly"></td>
				        </tr>
			            <tr>
				            <th class="sub-th">交易金额：</th>
				            <td><input type="text" name="price" value="{{$goods->price}}" readonly="readonly"></td>
			            </tr>
			            <tr>
				            <th class="sub-th">支付方式：</th>
				            <td><input type="text" name="payment" value="{{$payment}}" readonly="readonly"></td>
			            </tr>
			    </table>
			</li>
		</ul>																					
	</div>
	<div class="clearfix"></div>
	<div>
		{{csrf_field()}}
		<button class="col-md-1 col-md-offset-7 btn btn-primary">确 认 支 付</button>
	</div>
</form>
<div class="clearfix"></div>
<script type="text/javascript">
	// $('.order_num').
</script>
@endsection